﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClassLibrary
{
    public class Order
    {
        public string OrderID { get; set; } //订单ID
        public double Sum { get; set; }//总金额
        public DateTime OrderTime { get; set; }//订单创建时间
        public string UserID { get; set; }//订单发起人的ID，和User连接，1对1
        public Order()
        {
        }
        public Order(string orderID, double sum, DateTime orderTime, string userID)
        {
            OrderID = orderID;
            Sum = sum;
            OrderTime = orderTime;
            UserID = userID;
        }
    }
}
